package com.jessechanrui.template.common.template.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.List;

/**
 * @author chenrui
 * @version 1.0
 * @description AuthConfigProperties
 * @date 2025/5/6
 */
@Component
@ConfigurationProperties(prefix = "auth")
@Data
public class AuthConfigProperties {
    /**
     * 扩展可配置不校验权限的URL
     */
    private List<String> excludePaths = Collections.emptyList();

    private Boolean enable = true;
}
